package com.hall.service;

import com.hall.dao.AttentionMapper;
import com.hall.dao.CaseManagementMapper;
import com.hall.pojo.Appointment;
import com.hall.pojo.AppointmentFiles;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CaseManagementServiceImpl implements CaseManagementService{
    @Autowired
    private CaseManagementMapper caseManagementMapper;
    @Override
    public List<Appointment> findAppointmentById(String appointmentId ) {
        return caseManagementMapper.findAppointmentById(appointmentId);
    }

    @Override
    public Appointment findAppointUserById(String appointmentId) {
        return caseManagementMapper.findAppointUserById(appointmentId);
    }

    @Override
    public int updateCase(AppointmentFiles appointmentFiles) {
        return caseManagementMapper.updateCase(appointmentFiles);
    }

    public void setCaseManagementMapper(CaseManagementMapper caseManagementMapper) {
    }
}
